﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SuperJ.Web.Areas.Admin.Models
{
    public class Announce
    {
        public int AnnounceID { get; set; }
        [MaxLength(255)]
        [Required(ErrorMessage="标题必须填写")]
        public string Title { get; set; }
        [Column(TypeName = "ntext")]
        [DataType(DataType.MultilineText)]
        
        public string FullContent { get; set; }
        //[Column(a)]
        public DateTime CreateTime { get; set; }

    }
}
